<?php
class DepartmentinfoModel extends Orm_Base{
    public $table = 'department_info';
    public $field = array(
        'id' => array('type' => "int(11) unsigned",'comment' => ''),
        'num' => array('type' => "tinyint(1)",'comment' => '所在部门编码'),
        'introduce' => array('type' => "varchar(10)",'comment' => '所在部门描述'),
        'address' => array('type' => "varchar(200)",'comment' => '地址'),
        'phone' => array('type' => "varchar(11)",'comment' => ''),
        'created' => array('type' => "int(11)",'comment' => ''),
        'updated' => array('type' => "int(11)",'comment' => ''),
    );
    public $pk = 'id';
    public $tDepartmentinfo = array(
        '1' => '东三区',
        '2' => '西四区',
        '3' => '本三区',
        '4' => '南四区',
    );
}
?>
